﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace MediaAssistant.DAL
{
    public static class EntityObjectExtension
    {
        public static bool CanModify(this LibraryItem source)
        {
            return source.EntityState==EntityState.Modified||source.EntityState==EntityState.Unchanged;
        }
    }
}
